package de.g18.it0a.jlaser.factory;

import de.g18.it0a.jlaser.domain.Position;
import de.g18.it0a.jlaser.domain.RoomConfiguration;
import de.g18.it0a.jlaser.domain.Tile;


public class TileFactory {


    private TileFactory() {
        // prevent instantiation
    }

    public static final Tile create(Position aPosition, RoomConfiguration aConfig) {
        return new Tile(aPosition, aConfig.getTileWidth(), aConfig.getTileHeight());
    }
}
